package com.lianjinsu.shop.entity.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor(access = AccessLevel.PRIVATE)
public enum Gender implements IEnum<String> {
    UNKNOWN("0"), MALE("1"), FEMALE("2");

    private final String gender;

    @Override
    public String getValue() {
        return gender;
    }
}
